package jpademo.controller;

import jpademo.service.StudentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping(value = "/students")
public class StudentController {
    @Autowired
    private StudentService studentService;        
    @RequestMapping(value = "/one2oneDemo")	
	public void one2oneDemo() {
    	studentService.one2oneDemo();
    }
}






